BizExaminer\LearnDashExtension\LearnDash\Quiz\QuizService A

Total Complexity 75
Dependencies 12
Dependents 4
Total lines 923
Lines of code 517
Logical lines of code 192
Comment lines 289
Methods 15
Properties 5

Methods 15

Method Rating Maintainability Complexity Lines of code
triggerLearnDashQuizCompleted()
B
36 22 76
startQuiz()
A
33 9 121
updateQuizResults()
A
35 10 102
endQuiz()
S
43 5 56
getParticipant()
S
53 6 26
buildResultsFromRawResults()
S
51 6 26
triggerLearnDashQuizStarted()
S
52 5 27
maybeUpdateQuizResults()
S
55 3 20
buildReturnUrl()
S
59 1 16
buildCallbackUrl()
S
59 1 16
maybeScheduleResultsCheck()
S
66 2 8
handleError()
S
66 2 8
__construct()
S
69 1 7
unscheduleResultsCheck()
S
72 1 5
triggerLearnDashQuizEnded()
S
78 1 3